﻿<Page
    x:Class="WellDone.VoidDialog"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:WellDone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid
        x:Name="RootPanel"
        Background="#FF98DEF8"
        Opacity=".75"
        HorizontalAlignment="Stretch"
        VerticalAlignment="Stretch">

        <Grid x:Name="LayoutRoot" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" Width="700" Height="480" >
            <Grid.RowDefinitions>
                <RowDefinition />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>
            <TextBlock HorizontalAlignment="Center" Margin="0,10" FontSize="30" TextWrapping="Wrap" Text="Void Check" VerticalAlignment="Top"/>
            <TextBlock HorizontalAlignment="Left" Margin="20,50,0,0" Grid.Row="0" FontSize="30" TextWrapping="Wrap" Text="Check Number" VerticalAlignment="Top"/>
            <ComboBox x:Name="cmbCheckNumber" HorizontalAlignment="Left" Margin="15,90,0,0" VerticalAlignment="Top" Width="150" SelectionChanged="cmbCheckNumber_SelectionChanged" >
                <ComboBox.RenderTransform>
                    <CompositeTransform ScaleX="2" ScaleY="2"/>
                </ComboBox.RenderTransform>
            </ComboBox>
            <TextBlock HorizontalAlignment="Right" Margin="0,100,160,0" TextWrapping="Wrap" Text="Check Total" FontSize="30" VerticalAlignment="Top"/>
            <TextBlock x:Name="tblkTotal" HorizontalAlignment="Right" Margin="0,100,30,0" TextWrapping="Wrap" Text="" FontSize="30" VerticalAlignment="Top"/>
            <TextBlock HorizontalAlignment="Left" Margin="20,170,0,0" Grid.Row="0" FontSize="30" TextWrapping="Wrap" Text="Reason" VerticalAlignment="Top"/>
            <TextBox x:Name="tbReason" HorizontalAlignment="Left" Margin="20,215,0,0" TextWrapping="Wrap" Text="" FontSize="28" MaxLength="250" VerticalAlignment="Top" Height="134" Width="660"/>
            <Button x:Name="btnOK" Content="OK" Width="120" Height="85" FontSize="28" Margin="30,10" HorizontalAlignment="Left" Grid.Row="1" Click="btnOK_Click" />
            <Button x:Name="btnCancel" Content="Cancel" Width="120" Height="85" Margin="30,10" FontSize="28" HorizontalAlignment="Right" Grid.Row="1" Click="btnCancel_Click" />
        </Grid>
    </Grid>
</Page>
